Skip to content

ts: Coder as interface and SPL token coder#1259

Merged
armaniferrante merged 17 commits into
masterfrom
armani/coder
Jan 10, 2022
Merged

ts: Coder as interface and SPL token coder#1259
armaniferrante merged 17 commits into
masterfrom
armani/coder

Conversation

@armaniferrante

@armaniferrante armaniferrante commented Jan 7, 2022

Copy link
Copy Markdown
Contributor

Closes #799 and provides an implementation of the SPL token program serializer.

@armaniferrante armaniferrante changed the title ts: Coder as interface ts: Coder as interface and SPL token coder Jan 7, 2022
Comment thread ts/src/spl/index.ts

export { SplToken } from "./token.js";

export class Spl {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be better to put this into its own package. Presumably tree shaking makes this ok to bundle it in though?

@armaniferrante armaniferrante marked this pull request as ready for review January 10, 2022 01:42
@armaniferrante armaniferrante merged commit 84e0852 into master Jan 10, 2022
@armaniferrante armaniferrante deleted the armani/coder branch January 10, 2022 02:10
@mgild

mgild commented Feb 24, 2022

Copy link
Copy Markdown
Contributor

BorshCoder is a misnomer since it's still used to deserialize zero-copy accounts.

Otter-0x4ka5h pushed a commit to Otter-0x4ka5h/anchor that referenced this pull request Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ts: Anchor clients for non anchor programs

2 participants